import {useLoad} from '@tarojs/taro'


import {View, Text, ScrollView} from "@tarojs/components";
import { Grid, Image } from "@nutui/nutui-react-taro";
import './index.scss'

export default function Index () {
  useLoad(() => {
    console.log('Page loaded.')

  })

  return <ScrollView
    scrollY
    style={{
      height: '100vh',
      backgroundColor: '#f7f7f7'
    }}
    className="scrollview"
  >
    <View className="container">
      <View className={"sec1"}>
        <View className={'bgContainer'}>
          <Image
            className="bg"
            src="https://upload-images.jianshu.io/upload_images/2507704-e4bbe62b2e6e42b5.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240"
            fit="cover"
            width="100%"
            height="600px"
          />
          <Image
            className="text"
            src="https://upload-images.jianshu.io/upload_images/2507704-bec781cd9902fb45.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240"
            fit="ImageFit"
            width="200px"
            height="97px"
          />
        </View>
      </View>

    </View>
  </ScrollView>
}
